﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="MobileOptimized" content="240" />
    <meta name="format-detection" content="telephone=no">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta content="black" name="apple-mobile-web-app-status-bar-style" />
    <title>账目信息</title>
    <!-- Bootstrap -->
    <link href="/static/weixin/css/bootstrap.min.css" rel="stylesheet">
    <link href="/static/weixin/css/style.css" rel="stylesheet">

    <script src="/static/weixin/js/jquery.min.js" type="text/javascript"></script>
    <link rel="stylesheet" href="/static/weixin/css/sub.css" />
    <script type="text/javascript">
        $(function () {
            $('.tab ul.menu li').click(function () {
                //获得当前被点击的素索引值
                var Index = $(this).index();
                //给菜单添加选择样式
                $(this).addClass('active').siblings().removeClass('active');
                //显示对应的div
                $('.tab').children('div').eq(Index).show().siblings('div').hide();

            });
        });
    </script>
</head>
<body aria-atomic="False" style="background: #ededed;">
<section class="n-tabs">
<h1 class="logo">
     <a href='javascript:history.go(-1)' class="back-off"><span class="glyphicon glyphicon-chevron-left"></span></a>
     <span style="font-size:1.5em">账目信息:{{controller.user.username}}</span>
    </h1>
</section>
    <div class="Content">
        <div class="account2">
            <div class="tab">
				<section class="n-tabs3">
                <ul class="menu">
                    <li class="active">公司余额</li>
                    <li>收货明细</li>
                    <li>付款明细</li>
                    <li>发票明细</li>
                </ul>
				</section>
                <div class="con1">
                    <div class="subAbout">
                       <span>| 公司余额</span>
<div class="col-md-12">
				<div class="col-md-6">
					<h4 class="page-header margin-top-0"><i class="fa fa-reorder fa-lg text-default"></i>
					{{controller.meta_title}}
					</h4>
				</div>
				<!--<div class="col-md-6 text-right">
					<h4 class="page-header margin-top-0 margin-right-10">总余额：<span style="color: #ff0000">{{yecount}}</span></h4>
				</div>-->
				<!--<form role="form" method="post" class="form-horizontal form-info">
					<div class="form-group">
						<div class="col-md-12">

						</div>
					</div>
				</form>
				<div class="table-responsive">
					<table class="table table-striped table-vertical-middle">
						<thead>
						<tr>
							<th>往来公司</th>
							<th>余额</th>
							<th>操作</th>
						</tr>
						</thead>
						<tbody>
						{% for item in yelist %}
						<tr>
							<td>{{item.gsmc}}</td>
							<td>{{item.ye}}</td>
							<td><a class="link" href="companydetail?gs={{item.pk_org}}"><i class="fa fa-eye"></i>  {% if controller.user.groupid == 9 %}收款明细{% elif controller.user.groupid == 10 %}付款明细{% endif %}</a></td>
						</tr>
						{% endfor %}
						</tbody>
					</table>
				</div>-->
				<div class="col-md-12">
					<iframe src="http://218.24.153.126:8089/WebReport/ReportServer?formlet=HJ%2Fmh%2F007_MH_ZMXX.frm&user_pk={{controller.user.user_pk}}" height="428px" width="100%"></iframe>
				</div>
			</div>
                
                
                                    </div>
                    <div class="cls"></div>
                </div>
                <div class="con2">
                    <div class="subAbout">
                       <span>| 收货明细</span>
<div class="col-md-12">
				<h4 class="page-header margin-top-0"><i class="fa fa-reorder fa-lg text-default"></i>
					{{controller.meta_title}}<!--<button class="btn btn-primary btn-xs pull-right" data-toggle="modal" data-target=".add-addr-dialog">添加新地址</button>-->
				</h4>
				<!--<form role="form" method="post" class="form-horizontal form-info">
					<div class="form-group">
						<div class="col-md-4">
							<input type="text" placeholder="请输入关键字" class="form-control" name="real_name">
						</div>
						<div class="col-md-4">
							<button class="btn btn-primary ajax-post" target-form="form-info" type="submit" > 查询 </button>
						</div>
					</div>
				</form>-->
				<div class="table-responsive">
					<!--<table class="table  table-striped table-vertical-middle">
						<thead>
						<tr>
							<th >单号</th>
							<th>公司</th>
							<th>总数量</th>
							<th>总价格</th>
							<th>日期</th>
							<th>备注信息</th>
							<th>操作</th>
						</tr>
						</thead>
						<tbody>
						{% for item in jslist %}
						<tr>
							<td >{{item.vbillcode}}</td>
							<td>{{item.name}}</td>
							<td>{{item.ntotalnum}}</td>
							<td>{{item.ntaxmny}}</td>
							<td>{{item.dbilldate}}</td>
							<td>{{item.vnote}}</td>
							<td><a href="settlementdetail?id={{item.cgeneralhid}}" data-toggle="ajaxModal"><i class="fa fa-eye"></i> 查看详情</a></td>
						</tr>
						{% endfor %}
						</tbody>
					</table>-->
					<iframe src="http://218.24.153.126:8089/WebReport/ReportServer?formlet=HJ%2Fydd%2F009_MH_JSMX.frm&user_pk={{controller.user.user_pk}}" height="428px" width="100%"></iframe>
				</div>
				{#<!-- PAGINATION -->
				<div class="text-right">
					<!-- Pagination Default -->
					{{pagination | safe}}
					<!-- /Pagination Default -->
				</div>
				<!-- /PAGINATION -->#}
			</div>
                    </div>
                </div>
                <div class="con3">
                    <div class="subAbout">
                        <span>| 付款明细</span>
<div class="col-md-12">
				<h4 class="page-header margin-top-0"><i class="fa fa-reorder fa-lg text-default"></i>
					{{controller.meta_title}}<!--<button class="btn btn-primary btn-xs pull-right" data-toggle="modal" data-target=".add-addr-dialog">添加新地址</button>-->
				</h4>
				<!--<form role="form" method="post" class="form-horizontal form-info">
					<div class="form-group">
						<div class="col-md-4">
							<input type="text" placeholder="请输入关键字" class="form-control" name="real_name">
						</div>
						<div class="col-md-4">
							<button class="btn btn-primary ajax-post" target-form="form-info" type="submit" > 查询 </button>
						</div>
					</div>
				</form>-->
				<div class="table-responsive">
					<!--<table class="table  table-striped table-vertical-middle">
						<thead>
						<tr>
							<th >订单单号</th>
							<th>产品名称</th>
							<th>产品编号</th>
							<th>规格型号</th>
							<th>单位</th>
							<th>订单数量</th>
							<th>单价</th>
							<th>金额</th>
						</tr>
						</thead>
						<tbody>
						<tr>
							<td >201801200035</td>
							<td>三级螺纹钢</td>
							<td>HRB400</td>
							<td>Φ10*12</td>
							<td>吨</td>
							<td>18</td>
							<td>4000</td>
							<td>72000</td>
						</tr>
						<tr>
							<td >201801200035</td>
							<td>三级螺纹钢</td>
							<td>HRB400</td>
							<td>Φ10*12</td>
							<td>吨</td>
							<td>18</td>
							<td>4000</td>
							<td>72000</td>
						</tr>
						<tr>
							<td >201801200035</td>
							<td>三级螺纹钢</td>
							<td>HRB400</td>
							<td>Φ10*12</td>
							<td>吨</td>
							<td>18</td>
							<td>4000</td>
							<td>72000</td>
						</tr>
						<tr>
							<td >201801200035</td>
							<td>三级螺纹钢</td>
							<td>HRB400</td>
							<td>Φ10*12</td>
							<td>吨</td>
							<td>18</td>
							<td>4000</td>
							<td>72000</td>
						</tr>
						</tbody>
					</table>-->
					<iframe src="http://218.24.153.126:8089/WebReport/ReportServer?formlet=HJ%2Fydd%2F016_MH_GYSSKMX.frm&user_pk={{controller.user.user_pk}}" height="428px" width="100%"></iframe>
				</div>
				{#<!-- PAGINATION -->
				<div class="text-right">
					<!-- Pagination Default -->
					<!--{{pagination | safe}}-->
					<ul class="pagination">
						<li><a href="#">&laquo;</a></li>
						<li><a href="#">1</a></li>
						<li><a href="#">2</a></li>
						<li><a href="#">3</a></li>
						<li><a href="#">4</a></li>
						<li><a href="#">5</a></li>
						<li><a href="#">&raquo;</a></li>
					</ul>
					<!-- /Pagination Default -->
				</div>
				<!-- /PAGINATION -->#}
			</div>

                    </div>
                </div>
                <div class="con4">
                    <div class="subAbout">
                        <span>| 发票明细</span>
<div class="col-md-12">
				<h4 class="page-header margin-top-0"><i class="fa fa-reorder fa-lg text-default"></i>
					{{controller.meta_title}}<!--<button class="btn btn-primary btn-xs pull-right" data-toggle="modal" data-target=".add-addr-dialog">添加新地址</button>-->
				</h4>
				<!--<form role="form" method="post" class="form-horizontal form-info">
					<div class="form-group">
						<div class="col-md-4">
							<input type="text" placeholder="请输入关键字" class="form-control" name="real_name">
						</div>
						<div class="col-md-4">
							<button class="btn btn-primary ajax-post" target-form="form-info" type="submit" > 查询 </button>
						</div>
					</div>
				</form>-->
				<div class="table-responsive">
					<!--<table class="table  table-striped table-vertical-middle">
						<thead>
						<tr>
							<th >单号</th>
							<th>公司</th>
							<th>总数量</th>
							<th>总价格</th>
							<th>日期</th>
							<th>备注信息</th>
							<th>操作</th>
						</tr>
						</thead>
						<tbody>
						{% for item in list %}
						<tr>
							<td >{{item.vbillcode}}</td>
							<td>{{item.name}}</td>
							<td>{{item.ntotalastnum}}</td>
							<td>{{item.ntotalorigmny}}</td>
							<td>{{item.dbilldate}}</td>
							<td>{{item.vmemo}}</td>
							<td><a href="billingdetail?id={{item.pk_invoice}}" data-toggle="ajaxModal"><i class="fa fa-eye"></i> 查看详情</a></td>
						</tr>
						{% endfor %}
						</tbody>
					</table>-->
					<iframe src="http://218.24.153.126:8089/WebReport/ReportServer?formlet=HJ%2Fydd%2F013_MX_GYSFPMX.frm&user_pk={{controller.user.user_pk}}" height="428px" width="100%"></iframe>
				</div>
				<!-- PAGINATION -->
				<div class="text-right">
					<!-- Pagination Default -->
					{{pagination | safe}}
					<!-- /Pagination Default -->
				</div>
				<!-- /PAGINATION -->
			</div>

                    </div>
                </div>
                
                
            </div>
        </div>
    </div>
    <div class="FootbqK"></div>
    {% include "./inc_base.html" %}
</body>
</html>
